package com.example.myworkers.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName emp
 */
@TableName(value ="emp")
@Data
public class Emp implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO,value = "id")
    private Integer id;

    /**
     * 
     */
    @TableField(value = "empName")
    private String empname;

    /**
     * 
     */
    @TableField(value = "empPassword")
    private String emppassword;

    /**
     * 
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 
     */
    @TableField(value = "sex")
    private String sex;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}